<?php
 
class DBConnect {
	public static function connect() {
		require_once './config.php'; 
		$con = new mysqli(DB_HOST, DB_USER, DB_PASSWORD, DB_DATABASE);
		return $con;
	}
} 
?>